home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950528-19950726
/
000298_news@columbia.edu_Mon Jul 10 20:21:46 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
5KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA27902
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Mon, 10 Jul 1995 20:01:42 -0400
Received: by apakabar.cc.columbia.edu id AA05361
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Mon, 10 Jul 1995 20:01:40 -0400
Path: news.columbia.edu!panix!news.mathworks.com!gatech!howland.reston.ans.net!agate!news.mindlink.net!vanbc.wimsey.com!ddsw1!news.mcs.net!not-for-mail
From: les@MCS.COM (Leslie Mikesell)
Newsgroups: comp.protocols.kermit.misc,comp.dcom.modems
Subject: Re: Portable Dialing Directory Design
Date: 10 Jul 1995 15:21:46 -0500
Organization: /usr/lib/news/organi[sz]ation
Lines: 84
Message-Id: <3ts24q$t76@Mercury.mcs.com>
References: <3tp5ma$drl@apakabar.cc.columbia.edu>
Nntp-Posting-Host: mercury.mcs.com
Xref: news.columbia.edu comp.protocols.kermit.misc:3133 comp.dcom.modems:101675
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <3tp5ma$drl@apakabar.cc.columbia.edu>,
Frank da Cruz <fdc@watsun.cc.columbia.edu> wrote:
>For a dialing directory to be "portable", it should work no matter where
>you are calling from:
The free unix Hylafax software (sgi.com:/sgi/fax/) handles this with
a "dialrules" file that consists of lists of regexp substitutions
that are applied in order along with some simple variable expansions.
Three separate sets are used to determine the actual number dialed
by the modem, the "visible" representation as might be used on
a cover page, and a canonical form used for logfile names. This
is a bit cumbersome to set up, but it's the only thing I've seen
that actually works.
>3. The DIAL PREFIX. This is used for specifying a code to be dialed in
> order to get an outside line, e.g. when dialing from a PBX or hotel room.
> In other words, this is a prefix to be ADDED to the beginning of the
> phone number that is extracted from the dialing directory.
What if you are behind a PBX and send to another extension? The
hylafax system can be tuned to recognize local extensions and
dial them without adding the prefix, and still use the same
logfile as it would if you dialed the number through an outside
line.
>If a person always dials from the same place, then each number can be
>entered in the dialing directory in exactly the way the person dials it:
>local, long-distance, tie-line, internal PBX number, etc. That is what we
>had before, and it works for most people.
If you define a standard PREFIX and AREA CODE to be assumed within
the dialing directory, then you can recognize them and allow them
to be used or omitted so people can use the number they would commonly
dial from their office phone or not.
>But to meet the needs of those who travel around with their dialing
>directories, or for that matter to construct dialing directories which
>themselves are portable, e.g. to be shipped to people in diverse locations
>throughout the world, what is the least amount of complexity and
>"knowledge" we can get away with?
Then instead of changing the PREFIX and AREA CODE you have different
on-the-road versions. You can undo the assumptions made at the office
to construct a canonical form, then re-do the dialing procedure
needed for the current location. Hylafax doesn't have a handy way
to add variables without editing the dialrules file, but the processing
could be done with the mechanism provided.
>Now all of this is quite complex already. Is there a chance in the world
>that anybody will remember these points or use these features? Is there any
>way to make them simpler? If so, it is not obvious to me.
It gets worse. We can prefix calls out of the PBX with #7nnn (where
nnn is another extension) to internally bill the call to a different
number which is extremely handy for shared modems on a computer. The
regexp based substitutions let me recognize this as a special case
and move it out of the way while performing the other steps.
I'm not sure if anyone else is perverse enough to actually use
rules like this, though.
>One idea that suggests itself is to separate the notions of:
>
> 1. Prefix for long distance calls within the country I am in.
> 2. Prefix for calling outside the country I am in.
> 3. The area code of the area I am in.
> 4. Country code of the country I am in.
> 5. Country code for dialing in to each country from outside.
> 6. Area codes within any given country.
If you have to build any concepts in, it should cover how to
build a canonical form out of any likely local representation,
then how to dial the canonical form from any likely locality.
That will ensure that you can use a canonical form (+country...)
in the directories without any new problems. That means you
need to recognize numbers with/without any combination of
pbx-prefix, ld-prefix, country-code, and area code, removing
the local versions, then putting back what you need for the
canonical number. And this still leaves the problem of
calling another extension on your PBX.
Les Mikesell
les@mcs.com